package com.github.io.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.io.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/26 15:08
 * Description:
 */

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from  sys_xiyan_user  where id = #{id}")
    User getUserById(@Param("id") String id);
}
